package com.jingzhe.biz.sys.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jingzhe.biz.sys.domain.SysOffice;
import com.jingzhe.biz.sys.persistence.SysOfficeMapper;
import com.jingzhe.biz.sys.service.ISysOfficeService;

@Service
public class SysOfficeServiceImpl implements ISysOfficeService {
    @Resource
    private SysOfficeMapper sysOfficeMapper;

    @Override
    public List<SysOffice> selectByParentId(Integer parentId) {
        return sysOfficeMapper.selectByParentId(parentId);
    }

}
